//
// Created by lihengliu on 2023/3/4.
//
#ifndef JNIDEMO_JNI_SIMPLE_DATA_SWAP_H
#define JNIDEMO_JNI_SIMPLE_DATA_SWAP_H
typedef struct JNISimpleDataSwap {
    template<class T> static void swapValue(T &a,T &b) {
        T temp = a;
        a = b;
        b = temp;
    }
} SimpleDataSwap;
#endif //JNIDEMO_JNI_SIMPLE_DATA_SWAP_H
